package com.singzi.leetcode.N800;

import java.util.HashMap;

public class T0706 {
}
class MyHashMap {

    int []hash = new int[100000];
    public MyHashMap() {
        for (int i = 0; i < 100000; i++) {
            hash[i] = -1;
        }
    }

    public void put(int key, int value) {
        hash[key] = value;

    }

    public int get(int key) {
        return hash[key];
    }

    public void remove(int key) {
        hash[key] = -1;
    }
}

/**
 * Your MyHashMap object will be instantiated and called as such:
 * MyHashMap obj = new MyHashMap();
 * obj.put(key,value);
 * int param_2 = obj.get(key);
 * obj.remove(key);
 */